package com.mlnx.data.dao;

import com.mlnx.common.form.PageForm;
import com.mlnx.data.entity.SpoInfo;
import com.mlnx.data.pojo.form.SpoInfoForm;
import com.mlnx.data.pojo.vo.SpoInfoVo;

import java.util.List;

/**
 * Created by amanda.shan on 2019/10/27.
 */
public interface SpoStore {

     void init();

     void save(SpoInfo spoInfo);

     List<SpoInfo> getSpos(Integer patientId, Long startTime, Long endTime);

     void updateSpo(SpoInfo spoInfo);

     void deleteSbp(SpoInfo spoInfo);

     SpoInfoVo getPageSpos(PageForm pageForm, SpoInfoForm spoInfoForm);
}
